From a3cfa3281c6d9ea0bd471a106e8893ee7d564f15 Mon Sep 17 00:00:00 2001 From: Pavel Potocek Date: Thu, 24 Aug 2017 11:22:09 +0200 Subject: [PATCH] Correct an inaccuracy --- src/doc/specifying-dependencies.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/doc/specifying-dependencies.md b/src/doc/specifying-dependencies.md index 3ab0d5716..e009c64d8 100644 --- a/src/doc/specifying-dependencies.md +++ b/src/doc/specifying-dependencies.md @@ -47,10 +47,10 @@ be allowed with them: ^0 := >=0.0.0 <1.0.0 ``` -This compatibility convention is different from SemVer in the way it treats the +This compatibility convention is different from SemVer in the way it treats versions before 1.0.0. While SemVer says there is no compatibility before -1.0.0, Cargo considers any `0.x.y` and `0.x.z` versions, where `z ≥ y`, to be -compatible. +1.0.0, Cargo considers `0.x.y` to be compatible with `0.x.z`, where `y ≥ z` +and `x > 0`. ## Tilde requirements -- 2.30.2